package com.itheima.demo03;

public class Dog extends Animal{

    public Dog() {
    }

    public Dog(String name, int age) {
        super(name, age);
    }
    public void drinkWater(){
        System.out.println("喝水");
    }
    @Override
    public void eat() {
        System.out.println("狗吃骨头");
    }
}
